<template>
	<view>
		<view :class="['main']">
			<view class="a-dmpTalent-core-profile-profilePage">
				<view class="profile_info">
					<view class="a-dmpTalent-core-profile-c-profile-card">
						<view class="Card">
							<view class="card_top">
								<u-row>
									<u-col span="3">
										<view style="display: flex; justify-content: center;">
											<u--image :showLoading="true" :src="userInfo.avatar" width="80px"
												height="80px" :radius="24"></u--image>
										</view>
									</u-col>	
									<u-col span="9">
										<view class="base_info_block">
											<view class="name" :title="userInfo.name +'，'+userInfo.title">
												<text style="font-size: 17px;font-weight: 900;">{{userInfo.name}}</text>
												<text style="font-size: 14px; padding-left: 6px;">{{userInfo.title}}</text>
											</view>
											<view class="expert_content">
												<view class="content">
													<view class="c_info">{{userInfo.school}}</view>
													<view class="c_info" :title="userInfo.company">{{userInfo.company}}</view>
												</view>
											</view>
										</view>
									</u-col>
								</u-row>
							</view>
							<view class="contact-to" v-if="!userInfo.isMineInfo">
								<view class="contact-to-item" @click="makePhoneCall">
									<text
										:class="['tips-icon', 'tips-icon-dianhua', userInfo.phone ? 'authed' : 'no-auth']"></text>
									<text class="contact-item__value">Tel</text>
								</view>
								<view class="contact-to-item" @click="showWechat">
									<text
										:class="['tips-icon', 'tips-icon-weixin', userInfo.wechatCode ? 'authed' : 'no-auth']"></text>
									<text class="contact-item__value">Wechat</text>
								</view>
								<view class="contact-to-item" @click="showEmail">
									<text
										:class="['tips-icon', 'tips-icon-youjian', userInfo.email ? 'authed' : 'no-auth']"></text>
									<text class="contact-item__value">Email</text>
								</view>
								<view class="contact-to-item" @click="onGuide">
									<text
										:class="['tips-icon', 'tips-icon-daohang', userInfo.longitude && userInfo.latitude ? 'authed' : 'no-auth']"></text>
									<text class="contact-item__value">Address</text>
								</view>
								<view class="contact-to-item" @click="showCode = true">
									<text
										:class="['tips-icon', 'tips-icon-fenxiang', 'authed']"></text>
									<text class="contact-item__value">Share</text>
								</view>
							</view>
							<view scroll-x class="contact__scroll" v-if="userInfo.isMineInfo">
								<view class="contact-item__wrapper">
									<view class="contact-item" @click="makePhoneCall">
										<text class="tips-icon tips-icon-dianhua"></text>
										<view class="contact-item__right">
											<text class="contact-item__name">打电话</text>
											<text class="contact-item__value">{{userInfo.phone}}</text>
										</view>
									</view>
								</view>
								<view class="contact-item__wrapper">
									<view class="contact-item" @click="showWechat">
										<text class="tips-icon tips-icon-weixin"></text>
										<view class="contact-item__right">
											<text class="contact-item__name">加微信</text>
											<text class="contact-item__value">{{userInfo.wechat}}</text>
										</view>
									</view>
								</view>
								<view class="contact-item__wrapper">
									<view class="contact-item">
										<text class="tips-icon tips-icon-youjian"></text>
										<view class="contact-item__right">
											<text class="contact-item__name">发邮件</text>
											<text class="contact-item__value">{{userInfo.email}}</text>
										</view>
									</view>
								</view>
								<view class="contact-item__wrapper" style="margin-right: 20rpx;">
									<view class="contact-item" @click="onGuide">
										<text class="tips-icon tips-icon-daohang"></text>
										<view class="contact-item__right">
											<text class="contact-item__name">去导航</text>
											<text class="contact-item__value">点击导航</text>
										</view>
									</view>
								</view>
							</view>
						</view>
					</view>
					<view class="all_info">
						<u-collapse :border="false">
							<u-collapse-item title="Basic Information">
								<view class="u-collapse-content">
									<view class="resumeCard">
										<view class="card_title">
											<span class="title_text">
												Work Experience
											</span>
										</view>
										<view class="card_content">
											<template v-for="item in userInfo.workExperienceList">
												<u-tag :text="item.date" plain plainFill> </u-tag>
												<template v-for="content in item.contentList" style="">
													<view style="display: flex;">
														<view>-</view>
														<view class="content_text" :title="content.name">
															{{content.name}}
														</view>
													</view>
												</template>
											</template>
										</view>
									</view>
									<view class="resumeCard">
										<view class="card_title">
											<span class="title_text">
												Education Experience
											</span>
										</view>
										<view class="card_content">
											<template v-for="item in userInfo.eduExperienceList">
												<u-tag :text="item.date" plain plainFill> </u-tag>
												<template v-for="content in item.contentList">
													<view style="display: flex;">
														<view>-</view>
														<view class="content_text" :title="content.name">
															{{content.name}}
														</view>
													</view>
												</template>
											</template>
										</view>
									</view>
								</view>
							</u-collapse-item>
						</u-collapse>
					</view>
				</view>
				<view class="center_info">
					<view class="a-dmpTalent-core-profile-research-interest">
						<view class="title"><span>Research Interests</span></view>
						<view class="container">
							<!-- <uni-ec-canvas class="uni-ec-canvas" id="line-chart" canvas-id="multi-charts-line"
									:ec="ec"></uni-ec-canvas> -->
							<view class="uni-ec-canvas">
								<l-echart ref="chart"></l-echart>
							</view>
						</view>
					</view>
				</view>
				<view class="a-dmpTalent-core-profile-papers">
					<view class="part_title">
						<text class="title-box ">
							<text class="title">
								Research Achievement
							</text>
							<text class="num">
								<!-- 共 84 篇 -->
							</text>
						</text>
					</view>

					<view style="position: relative;">
						<view class="part_content">
							<view class="list_item">
								<view class="item" v-for="item in fruitData">
									<view class="item_title">{{item.fruitName}}</view>
									<view class="item_author">{{item.fruitAuthor}}</view>
									<view class="item_org_date">{{item.fruitOrg}}（{{item.fruitDate}}）</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		<u-overlay
			:show="showCode"
			@click="showCode = !showCode"
		>
			<view class="overlay-wrap">
				<img src="@/static/images/hl.png" width="400px" height="400px"/>
			</view>
		</u-overlay>
		
		<canvas canvas-id="shareId" id="shareId" class="share-canvas"></canvas>
	</view>
</template>

<script>
	// import uniEcCanvas from '@/components/uni-ec-canvas/uni-ec-canvas.vue'
	// import * as echarts from '@/components/uni-ec-canvas/echarts.js'
	import * as echarts from '@/uni_modules/lime-echart/static/echarts.min'
	import poster from '@/lib/poster.js';
	let chart = null;
	export default {
		props: {
			// 定义期望从父组件接收的数据
			userInfo: Object
		},
		components: {
			// uniEcCanvas
		},
		async mounted() {
			this.getResearchChartsData();
		},
		data() {
			return {
				showCode: false,
				qrCode: "",
				option: {
					legend: {
						data: []
					},
					singleAxis: {
						top: 50,
						bottom: 50,
						axisTick: {},
						axisLabel: {},
						type: 'time',
						axisPointer: {
							animation: true,
							label: {
								show: true
							}
						},
						splitLine: {
							show: true,
							lineStyle: {
								type: 'dashed',
								opacity: 0.2
							}
						}
					},
					series: [{
						type: 'themeRiver',
						emphasis: {
							itemStyle: {
								shadowBlur: 20,
								shadowColor: 'rgba(0, 0, 0, 0.8)'
							}
						},
						label: {
							show: false
						},
						data: []
					}]
				},
				researchChartsData: [{
						"yearNum": "2019",
						"name": "AI",
						"count": 1
					},{
						"yearNum": "2019",
						"name": "NLP",
						"count": 1
					},
					{
						"yearNum": "2019",
						"name": "Multimodal",
						"count": 0
					},{
						"yearNum": "2020",
						"name": "AI",
						"count": 2
					},{
						"yearNum": "2020",
						"name": "NLP",
						"count": 2
					},
					{
						"yearNum": "2020",
						"name": "Multimodal",
						"count": 0
					},{
						"yearNum": "2021",
						"name": "AI",
						"count": 1
					},{
						"yearNum": "2021",
						"name": "NLP",
						"count": 1
					},{
						"yearNum": "2021",
						"name": "Multimodal",
						"count": 0
					},{
						"yearNum": "2022",
						"name": "AI",
						"count": 1
					},{
						"yearNum": "2022",
						"name": "NLP",
						"count": 1
					},
					{
						"yearNum": "2022",
						"name": "Multimodal",
						"count": 0
					},{
						"yearNum": "2023",
						"name": "AI",
						"count": 3
					},{
						"yearNum": "2023",
						"name": "NLP",
						"count": 3
					},
					{
						"yearNum": "2023",
						"name": "Multimodal",
						"count": 1
					},{
						"yearNum": "2024",
						"name": "AI",
						"count": 5
					},{
						"yearNum": "2024",
						"name": "NLP",
						"count": 5
					},
					{
						"yearNum": "2024",
						"name": "Multimodal",
						"count": 4
					},
				],
				fruitTypeList: [{
						name: "咨政内参",
						value: 2
					},
					{
						name: "学术论文",
						value: 6
					},
					{
						name: "研究报告",
						value: 3
					},
					{
						name: "图书出版",
						value: 7
					},
					{
						name: "活动成果",
						value: 4
					},
					{
						name: "媒体成果",
						value: 5
					},
					{
						name: "荣誉信息",
						value: 8
					},
					{
						name: "课题/项目信息",
						value: 10
					}
				],
				ztShow: false,
				ztList: [{
						name: '全球价值链',
						color: '#bbbbbb',
						fontSize: '12'
					},
					{
						name: '对外贸易',
						color: '#bbbbbb',
						fontSize: '12'
					},
					{
						name: '贸易与金融',
						color: '#bbbbbb',
						fontSize: '12'
					},
				],
				fruitData: [{
					"fruitName": "Focus & Gating: A Multimodal Approach for Unveiling Relations in Noisy Social Media",
					"fruitAuthor": "Liang He, Hongke Wang, Zhen Wu, Jianbing Zhang, Xinyu Dai, Jiajun Chen",
					"fruitOrg": "ACMMM",
					"fruitDate": "2024"
				}, {
					"fruitName": "MORE: A Multimodal Object-Entity Relation Extraction Dataset with a Benchmark Evaluation",
					"fruitAuthor": "Liang He, Hongke Wang, Yongchang Cao, Zhen Wu, Jianbing Zhang, Xinyu Dai",
					"fruitOrg": "ACM MM",
					"fruitDate": "2023"
				}, {
					"fruitName": "MixRED: A Mix-lingual Relation Extraction Dataset",
					"fruitAuthor": "Lingxing Kong, Yougang Chu, Zheng Ma, Jianbing Zhang, Liang He, Jiajun Chen",
					"fruitOrg": "LREC-COLING",
					"fruitDate": "2024"
				}, {
					"fruitName": "EMORED: A DATASET FOR RELATION EXTRACTION IN TEXTS WITH EMOTICONS",
					"fruitAuthor": "Lingxing Kong, Zheng Ma, Jianbing Zhang, Liang He, Jiajun Chen",
					"fruitOrg": "ICASSP",
					"fruitDate": "2024"
				}, {
					"fruitName": "A Hierarchical Network for Multimodal Document-Level Relation Extraction",
					"fruitAuthor": "Lingxing Kong, Jiuliang Wang, Zheng Ma, Qifeng Zhou, Jianbing Zhang, Liang He, Jiajun Chen",
					"fruitOrg": "AAAI",
					"fruitDate": "2024"
				}, {
					"fruitName": "Label-correction Capsule Network for Hierarchical Text Classification",
					"fruitAuthor": "Fei Zhao, Zhen Wu, Liang He, Xinyu Dai",
					"fruitOrg": "TASLP",
					"fruitDate": "2023"
				}, {
					"fruitName": "Make BERT-Based Chinese Spelling Check Model Enhanced by Layerwise Attention and Gaussian Mixture Model",
					"fruitAuthor": "Yongchang Cao, Liang He, Zhen Wu, Xinyu Dai",
					"fruitOrg": "IJCNN",
					"fruitDate": "2023"
				}, {
					"fruitName": "Integrating BERT and Score-based Feature Gates for Chinese Grammatical Error Diagnosis",
					"fruitAuthor": "Yongchang Cao, Liang He, Robert Ridley, Xinyu Dai",
					"fruitOrg": "NLPTEA",
					"fruitDate": "2020"
				}, {
					"fruitName": "Automated Cross-prompt Scoring of Essay Traits",
					"fruitAuthor": "Robert Ridley, Liang He, Xinyu Dai, Shujian Huang, Jiajun Chen",
					"fruitOrg": "AAAI",
					"fruitDate": "2021"
				}, {
					"fruitName": "Enhance Prototypical Network with Text Descriptions for Few-shot Relation Classification",
					"fruitAuthor": "Kaijia Yang, Nantao Zheng, Xin-Yu Dai, Liang He, Shujian Huang, Jiajun Chen",
					"fruitOrg": "CIKM",
					"fruitDate": "2020"
				}, {
					"fruitName": "Exploiting Noisy Data in Distant Supervision Relation Classification",
					"fruitAuthor": "Kaijia Yang, Liang He, XIN-YU DAI, Shujian Huang and Jiajun CHEN",
					"fruitOrg": "NAACL",
					"fruitDate": "2019"
				}, {
					"fruitName": "Syntactic analysis and hierarchical phrase model based machine translation system and method",
					"fruitAuthor": "He, Liang, Zhangliang Xiong, and Lei Wan",
					"fruitOrg": "U.S. Patent",
					"fruitDate": "2014"
				}],
				researchOption: {},
				shareImageUrl: "",
				imagePath: "",
			}
		},
		onReady() {},
		onLoad() {},
		onShow() {
			this.getImageInfo();
		},
		async onShareAppMessage() {
			//生成海报
			let imageUrl = this.shareImageUrl;
			if (!imageUrl) {
				imageUrl = await this.createShare();
			}
			uni.hideLoading();
			return {
				title: "这是我的学术名片，请惠存",
				imageUrl: imageUrl,
				path: "pages/infoCard/infoCardCover?shareUserInfo=" + this.shareUserInfo
			}
		},
		methods: {
			getResearchChartsData() {
				this.option.series[0].data = [1, 2, 3, 4, 5, 6, 7];
				let url = "/getTalentResearchTrends";

				this.isHaveData = false;
				// postAction(url, { id: this.selectedAuthorId }).then(res => {
				//   if (res.data.success) {
				//     let data = res.data.result;
				let data = this.researchChartsData;
				let legendData = [];
				let seriesData = [];
				for (let n in data) {
					let result = [];
					result[0] = data[n].yearNum;
					result[1] = data[n].count;
					result[2] = data[n].name;
					legendData.push(data[n].name);
					seriesData.push(result);
				}
				this.option.legend.data = Array.from(new Set(legendData));
				this.option.series[0].data = seriesData;
				// 把 echarts 传入 
				this.$refs.chart.init(echarts, chart => {
					chart.setOption(this.option);
				});
				// }
				// }).catch(err => {
				//   console.log(err)
				// })
			},
			// 分享给朋友
			// onShareAppMessage(res) {
			// 	this.showShareBkgImgFlag = true;
			// 	return {
			// 		title: "这是我的学术名片，请惠存",
			// 		path: "pages/infoCard/infoCard?fromType=share"
			// 	}
			// },
			getImageInfo() {
				uni.getImageInfo({
					src: this.userInfo.avatar,
					success: (res) => {
						this.imagePath = res.path;
						console.log(res.path + "----");
					},
					fail: (err) => {
						console.log(err);
					}
				});
			},
			async createShare() {
				uni.showLoading({
					title: "名片生成中..."
				});
				let _this = this;
				return await new Promise((resolve, reject) => {
					this.userInfo.avatar = this.imagePath;
					poster.drawShare('shareId', this.userInfo,
						res => {
							if (res) {
								this.shareImageUrl = res;
								uni.hideLoading();
								resolve(res); // 成功时解析
							} else {
								uni.showToast({
									icon: "none",
									title: "生成名片失败,请稍后再试"
								})
							}
						}
					);
				});
			},
			makePhoneCall() {
				if (this.userInfo.phone) {
					uni.makePhoneCall({
						phoneNumber: this.userInfo.phone
					})
				}
			},
			showWechat() {
				let wechatCode = this.userInfo.wechatCode;
				if (wechatCode) {
					uni.showModal({
						showCancel: false,
						title: "Wechat ID",
						content: wechatCode,
						confirmText: "Click to copy",
						confirmColor: '#eb6540',
						success(res) {
							if (res.confirm) {
								uni.setClipboardData({
									data: wechatCode,
									success: function() {
										uni.showToast({
											title: 'Copied',
											duration: 1000
										});
									}
								});
							}
						}
					})
				}
			},
			showEmail() {
				let email = this.userInfo.email;
				if (email) {
					uni.showModal({
						showCancel: false,
						title: "Email Address",
						content: email,
						confirmText: "Click to copy",
						confirmColor: '#eb6540',
						success(res) {
							if (res.confirm) {
								uni.setClipboardData({
									data: email,
									success: function() {
										uni.showToast({
											title: 'Copied',
											duration: 1000
										});
									}
								});
							}
						}
					})
				}
			},
			onGuide() {
				if (this.userInfo.latitude && this.userInfo.longitude) {
					uni.openLocation({
						latitude: this.userInfo.latitude,
						longitude: this.userInfo.longitude,
						name: this.userInfo.company,
						address: this.userInfo.address,
						success: function() {
							console.log('success');
						}
					});
				}
			},
			closePop() {
				console.log("0---guanbi---popo")
			}
		}
	}
</script>

<style lang="scss" scoped>
	::-webkit-scrollbar {
		width: 3px;
	}

	::-webkit-scrollbar-track {
		background-color: transparent;
	}

	::-webkit-scrollbar-thumb {
		background: #D8D8D8;
		border-radius: 4px;
	}

	.uni-ec-canvas {
		width: 100%;
		height: 200px;
		display: block;
		z-index: 10;
	}

	.share-canvas {
		width: 370px;
		height: 280px;
		background-color: #fff;
		display: none;
	}

	/deep/.u-cell__title-text {
		color: $u-primary-color !important;
		font-size: 15px !important;
		font-weight: bold;
	}

	/deep/.u-tabs__wrapper__nav__item__text {
		font-size: 12px !important;
	}

	/deep/.u-tabs__wrapper__nav__item {
		padding: 0 8px 0 0 !important;
	}

	.main {
		padding: 0 20px;
		background-color: #F9FAFD;
	}

	.mainBgImg {
		background-image: url("/static/images/logo.png");
	}
	
	.overlay-wrap {
		@include flex;
		justify-content: center;
		align-items: center;
		height: 100vh;
		// flex: 1;
	}

	.a-dmpTalent-core-profile-profilePage {
		padding-top: 20px;

		.profile_info {
			border-radius: 8px 0 0 8px;
		}

		.center_info {
			background-color: #fff;
			margin-top: 10px;
		}
	}

	.a-dmpTalent-core-profile-c-profile-card {
		.Card {
			width: 100%;
			background-color: #fff;

			.card_top {
				background: $u-primary-color;
				border-radius: 10px;
				padding: 17px 10px;
				color: #fff;
			}

			.base_info_block {
				height: 100px;
				padding-left: 10px;

				.name {
					color: #fff;
					text-align: left;
					line-height: 40px;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}
			}

			.contact-to {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 10px;
			}

			.contact-to-item {
				height: 30px;
				margin: 10px;
				display: flex;
				flex-direction: column;
				text-align: center;
			}

			.contact-to-item .authed {
				font-size: 25px;
				color: rgb(66, 97, 140);
			}

			.contact-to-item .no-auth {
				font-size: 25px;
				color: rgb(224, 223, 222);
			}

			.contact__scroll {
				white-space: nowrap;
				padding-top: 5px;
				padding-bottom: 5px;
				overflow-x: auto;
			}

			.contact-item__wrapper {
				display: inline-block;
				margin-right: 5px;
			}

			.contact-item {
				height: 50px;
				box-shadow: 0 1px 3px 0 rgba(158, 158, 167, .7);
				display: flex;
				align-items: center;
				padding: 0 10px;
				border-radius: 5px;
				border: 1px #eee solid;
			}

			.contact-item .tips-icon {
				font-size: 25px;
				color: rgb(66, 97, 140);
				text-align: center;
			}

			.contact-item__right {
				height: 30px;
				margin-left: 10px;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
			}

			.contact-item__name {
				color: #011128;
				font-size: 14px;
			}

			.contact-item__value {
				color: #67707e;
				font-size: 12px;
			}

			.expert_content {
				z-index: 2;
				width: 100%;

				.content {
					text-align: left;

					.c_info {
						display: block;
						max-width: 100%;
						overflow: hidden;
						text-overflow: ellipsis;
						line-height: 25px;
						white-space: nowrap;
					}
				}
			}
		}
	}

	.all_info {
		margin-top: 10px;
		background-color: #fff;

		.resumeCard {
			.slot-title {
				color: $u-primary-color;
			}

			.card_title {
				font-size: 13px;
				color: #373737;
				font-weight: 700;
				margin-bottom: 12px;
				border-bottom: 2px solid $u-primary-color;

				.title_text {
					height: 28px;
					color: $u-content-color;
					position: relative;
					display: flex;
					align-items: center;
				}
			}

			.card_content {
				line-height: 30px;
				font-size: 13px;
				overflow-y: auto;

				.content_text {
					max-width: 100%;
					padding-left: 5px;
					// overflow: hidden;
					// text-overflow: ellipsis;
					// white-space: nowrap;
				}
			}
		}
	}

	.a-dmpTalent-core-profile-research-interest {
		background-color: #fff;

		.title {
			height: 35px;
			padding: 0 15px;
			font-size: 15px;
			line-height: 35px;
			font-weight: 700;
			display: flex;
			color: $u-primary-color;
			justify-content: space-between;
		}

		.container {
			position: relative;
		}
	}

	.a-dmpTalent-core-profile-papers {
		.part_title {
			margin-top: 10px;
			border-bottom: 1px solid #297ade;
			background: #fff;

			.title-box {
				color: $u-primary-color;
				white-space: nowrap;
				text-align: center;
				line-height: 25px;

				.title {
					padding: 10px 15px;
					font-size: 15px;
					font-weight: 700;
					opacity: 1;
				}

				.title text {
					font-size: 16px;
					color: $u-primary-color;
				}
			}

			.num {
				font-size: 12px;
				color: $u-primary-color;
				margin-left: 5px;
			}
		}

		.part_content {
			.opr_line {}

			.conDisp {
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 12px;
				color: #959595;
				padding: 5px;
			}

			.icon_u {
				font-size: 10px;
				padding-top: 5px;
			}

			.list_item {
				background-color: #fff;
				padding: 0 10px;

				.item {
					padding: 5px 0 14px;
					border-bottom: 1px dashed #d5d5d5;

					.item_title {
						font-weight: 700;
						font-size: 13px;
						line-height: 24px;
						vertical-align: middle;
					}

					.item_author {
						max-height: 40px;
						line-height: 20px;
						overflow: hidden;
						font-size: 12px;
					}

					.item_org_date {
						color: #444;
						font-size: 12px;
						line-height: 28px;
					}
				}
			}
		}
	}

	.share {
		position: absolute;
		top: 100px;
		right: 0px;
		font-size: 15px;
		background: #fff;
	}

	.right_part {
		margin-top: 40px;
		margin-right: 15px;
		background-color: #fff;
		align-self: flex-start;
		border-radius: 8px;
		padding: 20px 20px 0 20px;

		.title {
			color: #000e28;
			font-weight: 600;
			font-size: 15px;
			line-height: 35px;
			display: flex;
			justify-content: space-between;
		}

		.title-box {
			cursor: pointer;
			white-space: nowrap;
			text-align: center;
			font-size: 14px;
			font-weight: 700;
			opacity: 1;
		}

		.title-box span {
			font-size: 16px;
			color: $u-primary-color;
		}

		.list_c {
			padding: 15px 10px 15px 10px;
			border-bottom: 1px dashed #eee;

			.link {
				border: 2px solid #033B75;
				border-radius: 50%;
				cursor: pointer;
				font-size: 30px;
			}

			.link img {
				height: 40px;
				width: 40px;
				border-radius: 50%;
				margin-bottom: 10px;
			}

			.link_icon {
				margin: 5px;
			}
		}

		.item_t {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			display: flex;
			justify-content: space-between;
			padding: 0 5px;
		}

		.item_c {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			font-weight: 400;
			text-align: left;
			padding: 0 5px;
		}

		.item_d {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			font-weight: 400;
			text-align: center;
			padding: 0 5px;
		}

		/deep/.ant-tabs-nav-scroll {
			background: #f8fafd !important;
		}
	}
</style>